//
//  Element.h
//  NewsApp
//
//  Created by Nguyen .a.Hph on 21/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GDataXMLNode.h"

@interface Element : NSObject{
    
}
@property (nonatomic, assign) int ID;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *image;
@property (nonatomic, assign) BOOL isMobile;
@property (nonatomic, strong) NSString *url;
@property (nonatomic, strong) NSString *sec;
@property (nonatomic, strong) NSString *sec_next;
@property (nonatomic, strong) NSString *art;
@property (nonatomic, strong) NSString *art_title;
@property (nonatomic, strong) NSString *art_url;
@property (nonatomic, strong) NSString *art_time;
@property (nonatomic, strong) NSString *art_image;
@property (nonatomic, strong) NSString *art_desc;
@property (nonatomic, strong) NSString *art_detail;

@property (nonatomic, strong) NSArray *sections;//array of CellEntry

-(id)initWithID:(int)ID title:(NSString *)title name:(NSString *)name image:(NSString *)image isMobile:(BOOL)isMobile url:(NSString *)url sec:(NSString *)sec sec_next:(NSString *)sec_next art:(NSString *)art art_title:(NSString *)art_title art_url:(NSString *)art_url art_time:(NSString *)art_time art_image:(NSString *)art_image art_desc:(NSString *)art_desc art_detail:(NSString *)art_detail;
@end
